<?php
echo __FILE__ ;
$file_path="E:/wamp/www/MyCI/1/articles/frist_2015-11-3.txt"; 
if(file_exists($file_path)){
	echo "有文件";
}
else{
	echo "没找到";
}
$myfile = fopen($file_path, "r") or die("Unable to open file!");
echo fread($myfile,filesize($file_path));
fclose($myfile);

$a = file('E:/wamp/www/MyCI/1/articles/frist_2015-11-3.txt');
    foreach($a as $line => $content){
        echo '</br>line '.($line + 1).':'.$content;
    }

?> 